package com.aistar.model.bo;

/**
 * @ClassName: EmployerResult
 * @author: LiuWenXiu
 * @date: 2021/9/30 22:33
 * @Description: TODO...本类用来演示:
 */
public class EmployerResult {
    private String code;//状态码

    private String msg;//信息提示

    private Object data;//查询 - 数据

    private Integer count;  //数据总数

    public EmployerResult() {
    }

    public EmployerResult(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public EmployerResult(String code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }


    public EmployerResult(String code, String msg, Object data, Integer count) {
        this.code = code;
        this.msg = msg;
        this.data = data;
        this.count = count;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "EmployerResult{" +
                "code='" + code + '\'' +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                ", count=" + count +
                '}';
    }
}
